﻿using System.Drawing;

namespace UCTT.NetFx
{
    public static class PointFExtensions
    {
        /// <summary>
        /// 翻转<see cref="PointF">对象p的Y坐标
        /// </summary>
        /// <param name="p"></param>
        public static PointF FlipY(this PointF p)
        {
            p.Y = -p.Y;
            return p;
        }
    }
}
